goto

Hello Forum,

 

i have 3 Attribute and i want to find object with status ok

Absno. object text status
It_2 doors ok
It_3 dxl  
it_4 c++ ok

 

can i use goto ?

Best regards,


Control17 - Thu Aug 17 10:03:08 EDT 2017

Re: goto
Mike.Scharnow - Thu Aug 17 12:16:45 EDT 2017

No, there is no goto in DXL. You will need a loop over every object and check whether the attribute "status" of the object equals "ok"

Re: goto
Control17 - Fri Aug 18 01:32:31 EDT 2017

Mike.Scharnow - Thu Aug 17 12:16:45 EDT 2017

No, there is no goto in DXL. You will need a loop over every object and check whether the attribute "status" of the object equals "ok"

Thanks  for your reply , what mean this code below ( have found in dxl refrence manual )?

Object gotoObject(int absno, Module m)

 

 

Best regards,

Neven

 

Re: goto
Mike.Scharnow - Fri Aug 18 05:51:13 EDT 2017

Control17 - Fri Aug 18 01:32:31 EDT 2017

Thanks  for your reply , what mean this code below ( have found in dxl refrence manual )?

Object gotoObject(int absno, Module m)

 

 

Best regards,

Neven

 

I'm not sure why you ask this question. The reference manual explains the gotoObject quite well, it's about "the display of the specified module", so, it's the equivalent of the menu entry Edit -> Go To... (Ctrl G). It has nothing to do with finding attribute values....

Re: goto
Control17 - Fri Aug 18 05:52:30 EDT 2017

Mike.Scharnow - Fri Aug 18 05:51:13 EDT 2017

I'm not sure why you ask this question. The reference manual explains the gotoObject quite well, it's about "the display of the specified module", so, it's the equivalent of the menu entry Edit -> Go To... (Ctrl G). It has nothing to do with finding attribute values....

thanks for explain .